﻿CREATE TABLE [dbo].[Finance_RunningAccountType] (
    [id]   INT            IDENTITY (1, 1) NOT NULL,
    [name] NVARCHAR (200) CONSTRAINT [DF_Finance_RunningAccountType_name] DEFAULT ('') NULL,
    [lrr]  VARCHAR (50)   CONSTRAINT [DF_Finance_RunningAccountType_lrr] DEFAULT ('') NULL,
    [lrrq] DATETIME       CONSTRAINT [DF_Finance_RunningAccountType_lrrq] DEFAULT (getdate()) NULL,
    [flag] INT            CONSTRAINT [DF_Finance_RunningAccountType_flag] DEFAULT ((0)) NULL,
    CONSTRAINT [PK_Finance_RunningAccountType] PRIMARY KEY CLUSTERED ([id] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'科目名称', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Finance_RunningAccountType', @level2type = N'COLUMN', @level2name = N'name';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'标识。0：正常。1：删除', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Finance_RunningAccountType', @level2type = N'COLUMN', @level2name = N'flag';

